//
//  BBaseViewController.h
//  古诗词
//
//  Created by Rain on 2021/8/30.
//  Copyright © 2021 芥末. All rights reserved.
//

#import <JavaScriptCore/JavaScriptCore.h>

NS_ASSUME_NONNULL_BEGIN
@protocol BBaseViewControllerProtocol<JSExport>
-(void)jumpMain;
@end
@interface BBaseViewController : UIViewController <BBaseViewControllerProtocol>
@property (nonatomic, copy) NSString *url;//网址
@property (nonatomic, copy) NSString *shareTitle;//分享内容
@property (nonatomic, copy) NSString *QQStr;//客服中心
@property (nonatomic, copy) NSString *safety_url;//安全中心
@property (nonatomic, copy) NSString *handsel_url;//优惠活动
@property (nonatomic, copy) NSString *download_url;//下载链接
@property (nonatomic, copy) NSString *discount_url;//余额宝
@property(nonatomic,weak) id<BBaseViewControllerProtocol> Protocol;
@property(nonatomic, strong)JSContext* context;
@end

NS_ASSUME_NONNULL_END
